<div class="x-list-title">
<table width="100%" border="0" height="100%">
	<tbody><tr>
		<td align="left">
			<h2>Quản lý danh sách mục</h2>
		</td>
		<td align="right"></td>
	</tr>
</tbody></table>	
</div>
<div class="x-form-container" style="padding:8px">
<?php foreach( $this->get('options') as $k => $a ):?>
<table border="1" cellpadding="5" bordercolor="#D8DFEA" style="width:248px;float:left;margin:2px">
	<tr>
		<th style="background:#637AAE;color:#fff;text-align:left">
			<a onclick="load_inframe('<?php _baseUrl();?>/Admin/Options/Add?m=<?php _e($a['module']);?>',{ title: 'Thêm <?php _e(mblower($a['title']))?>' })"><span style="color:#fff" title="Thêm mới">[+]</span></a> <?php _e($a['title']);?>
		</th>
	</tr>
	<?php foreach( $a['posts'] as $b ):?>
	<tr>
		<td style="background:#fff" valign="middle">
			<div style="position:relative">
				<?php _e($b['title']);?>
				<span style="display:inline-block;position:absolute;right:3px;font-size:9px">
					<a onclick="load_inframe('<?php _baseUrl();?>/Admin/Options/Edit?m=<?php _e($a['module']);?>&ID=<?php _e($b['ID']);?>',{title: 'Sửa <?php _e(mblower($a['title']))?>'})">sửa</a> - <a onclick="module_delete('<?php _baseUrl();?>/Admin/Options/Delete?m=<?php _e($a['module']);?>&ID=<?php _e($b['ID']);?>')">xóa</a>
				</span>
			</div>
		</td>
	</tr>	
	<?php endforeach;?>	
</table><!--
<?php if( $k % 4 == 3 ):?>
<div class="clear"></div>
<?php endif;?>-->
<?php endforeach;?>
<div class="clear"></div>
</div>